import 'dart:convert';

import 'package:enterprise_v6_app/generated/json/base/json_field.dart';
import 'package:enterprise_v6_app/generated/json/get_tb_base_risk_unit_list_no_page_entity.g.dart';
import 'package:get/get_rx/src/rx_types/rx_types.dart';
export 'package:enterprise_v6_app/generated/json/get_tb_base_risk_unit_list_no_page_entity.g.dart';
///获取风险事件列表(不分页)
@JsonSerializable()
class GetTbBaseRiskUnitListNoPageEntity {
	GetTbBaseRiskUnitListNoPageEntity();

	factory GetTbBaseRiskUnitListNoPageEntity.fromJson(Map<String, dynamic> json) => $GetTbBaseRiskUnitListNoPageEntityFromJson(json);
	String? id;
	String? companyCode;
	String? riskUnitId;
	String? riskEventName;
	String? deleted;
	int? initialRiskConsequences;
	int? initialRiskDegree;
	int? initialRiskPossibility;
	String? initialRiskLevel;
	String? currentRiskLevel;
	String? dataSources;
	String? damageTypeId;
	dynamic damageTypeIdName;
	String? workType;
	String? createDate;
	String? createById;
	String? updateById;
	String? createBy;
	String? updateDate;
	String? updateBy;
	String? hazardCode;
	String? riskObjectId;
	int? status;
	String? riskDescription;
	String? warehouseId;
	int? isUpload;
	int? currentRiskDegree;
	dynamic level;
	dynamic checkType;
  @JSONField(deserialize: false, serialize: false)
  RxBool onclick = false.obs;

	Map<String, dynamic> toJson() => $GetTbBaseRiskUnitListNoPageEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}
